home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
misc
/
math
/
MathFX_src.lha
/
setpxl.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-20
|
247b
|
14 lines
/* Sets up pixel size from the number of pixels/mm in each direction */
#include "mathfx.h"
#include "declare.h"
void setpxl(xpmm0,ypmm0)
float xpmm0,ypmm0;
{
xpmm = xpmm0;
ypmm = ypmm0;
umx = 1000.0/xpmm;
umy = 1000.0/ypmm;
}